package com.net.xpay.core.service.safePay;

import com.net.xpay.common.domain.SafePayBusinessAuthAuditRecord;
import com.net.xpay.common.domain.User;
import com.net.xpay.core.model.SafePayBookAccountSubmitBusinessAuthModel;
import com.net.xpay.core.model.SafePayUserTransLimitModel;

public interface SafePayBookAccountService {
    /**
     * 获取用户当天的转账额度和当月的转账额度
     */
    SafePayUserTransLimitModel getTransferLimit(User merchant, Long safePayBookAccountId);

    /**
     * 企业实名认证
     */
    SafePayBusinessAuthAuditRecord submitBusinessAuthentication(User merchant, SafePayBookAccountSubmitBusinessAuthModel model);

    /**
     * 修改企业实名认证信息
     * @param merchant
     * @param id
     */
    void updateSafePayBookAccount(User merchant, Long id);
}
